package com.project.bohang.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.project.bohang.entity.House;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bohang.pojo.dto.HouseDto;
import com.project.bohang.pojo.vo.HouseVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author bohang
 * @since 2022-03-26
 */
public interface HouseMapper extends BaseMapper<House> {

    List<HouseVo> houseList(IPage<HouseVo> page, @Param("t")HouseDto dto);

    List<Long> selectIds();
}
